import request from './index';

/**
 * 研究方向接口，传入前缀
 * @param {object} params 前缀
 */
const directionsReq = (params) => request({
  method: 'get',
  url: `/recommend/direction`,
  params: params
});

/**
 * Publications接口，传入前缀
 * @param {object} params 前缀
 */
const publicationsReq = (params) => request({
  method: 'get',
  url: `/recommend/publication`,
  params: params
});


/**
 * 推荐审稿人
 * @param {object} params direction + publication
 */
const reviewRecommendReq = (params) => request({
  method: 'get',
  url: `/recommend/reader`,
  params: params
});


export {
  directionsReq,
  publicationsReq,
  reviewRecommendReq
}